.PHONY:auto
auto:clean exec

.PHONY:all
all:mytest exec

mytest:mytest.cpp
	g++ -o $@ $^ -std=c++11
exec:exec.c
	gcc -o $@ $^
	
.PHONY:clean
clean:
	rm exec mytest -f
